crypto/tls.Conn.peerCertificates (field)

17 uses

	crypto/tls (current package)
		conn.go#L56: 	peerCertificates []*x509.Certificate
		conn.go#L1632: 	state.PeerCertificates = c.peerCertificates
		conn.go#L1684: 	return c.peerCertificates[0].VerifyHostname(host)
		handshake_client.go#L695: 		if !bytes.Equal(c.peerCertificates[0].Raw, certMsg.certificates[0]) {
		handshake_client.go#L705: 		err = keyAgreement.processServerKeyExchange(c.config, hs.hello, hs.serverHello, c.peerCertificates[0], skx)
		handshake_client.go#L755: 	preMasterSecret, ckx, err := keyAgreement.generateClientKeyExchange(c.config, hs.hello, c.peerCertificates[0])
		handshake_client.go#L921: 	c.peerCertificates = hs.session.peerCertificates
		handshake_client.go#L1144: 	c.peerCertificates = certs
		handshake_client_tls13.go#L473: 	c.peerCertificates = hs.session.peerCertificates
		handshake_client_tls13.go#L697: 	if err := verifyHandshakeSignature(sigType, c.peerCertificates[0].PublicKey,
		handshake_server.go#L507: 	c.peerCertificates = sessionState.peerCertificates
		handshake_server.go#L660: 			pub = c.peerCertificates[0].PublicKey
		handshake_server.go#L706: 	if len(c.peerCertificates) > 0 {
		handshake_server.go#L929: 	c.peerCertificates = certs
		handshake_server_tls13.go#L420: 		c.peerCertificates = sessionState.peerCertificates
		handshake_server_tls13.go#L993: 		if err := verifyHandshakeSignature(sigType, c.peerCertificates[0].PublicKey,
		ticket.go#L299: 		peerCertificates:  c.peerCertificates,